/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.TuyenTauDAO;
import DTO.TuyenTauDTO;
import java.sql.ResultSet;

/**
 *
 * @author Nobita Chau
 */
public class TuyenTauBUS {
    
        public static ResultSet  TimKiemTatCa() {
        return TuyenTauDAO.TimKiemTatCa();
    }
     public static boolean KiemTraTonTai(String MaNV)
    {
        return TuyenTauDAO.KiemTraTonTai(MaNV);
    }
     public static boolean Them(TuyenTauDTO n) {
         return TuyenTauDAO.Them(n);
     }
    public static boolean Xoa(String id) {
         return TuyenTauDAO.Xoa(id);
     }
     public static boolean Update(TuyenTauDTO NV,String id){
          return TuyenTauDAO.Update(NV,id);
     }
}
